![]() |
MPBlockClear |
||||
Header: | Multiprocessing.h | Carbon status: | Supported | |
Clears a block of memory.
void MPBlockClear ( LogicalAddress address, ByteCount size );
The starting address of the memory block you want to clear.
The number of bytes you want to clear.
As with all shared memory, your application must synchronize access to the memory blocks to avoid data corruption. MPBlockClear ensures the clearing stays within the bounds of the area specified by size, but the calling task can be preempted during the copying process.
Introduced with Multiprocessing Services 2.0.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)